package com.dyw.application.bean;

import org.springframework.beans.factory.annotation.Value;

/**
 * @auther Devil
 * @create 2022-01-14-15:26
 */


public class Cat {
    @Value("pfj")
    private String name;

    @Override
    public String toString() {
        return "Cat{" +
                "name='" + name + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Cat() {
    }

    public Cat(String name) {
        this.name = name;
    }
}
